package design_patterns.nullobject.bean;

import design_patterns.nullobject.AbstractCustomer;

/**
 * @author chengz
 * @description description
 * @create 2020-12-23 16:55
 */
public class NullCustomer extends AbstractCustomer {
    @Override
    public boolean isNil() {
        return true;
    }

    @Override
    public String getName() {
        return "数据为空";
    }
}
